package com.hqyj.service;


import com.hqyj.pojo.Manager;

import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;

public interface ManagerService {
    String login(Manager manager, HttpServletRequest request);//登录
    String register(Manager manager);//注册
    HashMap<String, Object> sendCode(Manager manager, HttpServletRequest request);//验证码
    HashMap<String, Object> selectByManager(HttpServletRequest request, Manager manager);
    Manager selectByname(Manager manager);
    void updateHead(Manager manager, HttpServletRequest request);
    void selectnew(Manager manager, HttpServletRequest request);
}
